Currently apache pseudo static URL rewrite. htaccess is the following rule:http://www.abc.com---> index.phphttp://www.abc.com/late/--->./filedir/late.php?p=1http://www.abc.com/popular/--->./filedir/popular.php?p=1Http://www.abc.com/down/name-id/--->./filedir/detail.php?id=numberHttp://www.abc.com/cat/catname-catid/--->./filed
=createobject ("Scripting.FileSystemObject")Set Fsoobj=fsoEnd Sub'//end, Release functionPrivate Sub Class_TerminateSet fso=nothingSet fsoobj=nothingEnd Sub ' ==================== file operation started =========================Function isfileexists (ByVal filedir)' To determine if a file exists, to return true if it exists, or to return false' Parameter filedir to the absolute path of the fileIf fso.filee
automatically completing file downloads, addresses
Http://editplus.com/files.html
"14" tool integration-compiler integration examples (Java, Borland C + +, Visual C + +, Inno Setup, NSIs)
On the tools → parameter selection → user tools Options page Setup, set the steps
① Set the group name, or you can not set the
② Click the Add tool → application button and make the following settings
③ a variety of similar "$ (FilePath)" parameters can be obtained in the Arrow drop-down menu to the right of
name, $time: Custom upload Time
function upload ($types = ' jpg|png ', $maxsize = 1024x768, $field = ' attach ', $time = ') {
$this->allow_types = explode (' | ', $types);
$this->maxsize = $maxsize * 1024;
$this->field = $field;
$this->time = $time? $time: Time ();
}
Set up and create a directory where files are specifically stored
$basedir: Base directory, must be a physical path
$filedir: Custom subdirectory, available with parameters {
= $maxsize * 1024;
$this->field = $field;
$this->time = $time? $time: Time ();
}
Set up and create a directory where files are specifically stored
$basedir: Base directory, must be a physical path
$filedir: Custom subdirectory, available with parameters {Y}, {m}, {d}
function Set_dir ($basedir, $filedir = ") {
$dir = $basedir;
!is_dir ($dir) @mkdir ($dir, 0777)
Tool integration-compiler integration examples (Java, Borland C ++, Visual C ++, Inno Setup, NSIs)On the "Tools> Parameter Selection> User Tools" option page, set steps① Set the group name. You can leave it unspecified here.② Click "add tool> application" and make the following settings③ Various parameters similar to "$ (filepath)" can be obtained from the arrow drop-down menu on the right of the text box. The specific meanings are as follows:Parameter description$ (Filepath) file path (full nam
type that can be uploadedVar $ field; // The name of the upload control.Var $ maxsize; // maximum allowed file size, in KB Var $ thumb_width; // The width of the thumbnail.Var $ thumb_height; // The height of the thumbnail. Var $ watermark_file; // watermark image addressVar $ watermark_pos; // Watermark PositionVar $ watermark_trans; // watermark transparency// Open source code phpfensi.com // Constructor// $ Types: specifies the file type that can be uploaded. $ maxsize: size allowed. $ field
$ thumb_height; // The height of the thumbnail.
Var $ watermark_file; // watermark image address
Var $ watermark_pos; // Watermark Position
Var $ watermark_trans; // watermark transparency
// Constructor
// $ Types: specifies the file type that can be uploaded. $ maxsize: size allowed. $ field: indicates the name of the upload control. $ time: indicates the custom Upload time.
Function upload ($ types = 'jpg | png ', $ maxsize = 1024, $ field = 'Attach', $ time = ''){
$ This-> a
upload control.
Var $ maxsize; // maximum allowed file size, in KB
Var $ thumb_width; // The width of the thumbnail.
Var $ thumb_height; // The height of the thumbnail.
Var $ watermark_file; // watermark image address
Var $ watermark_pos; // Watermark Position
Var $ watermark_trans; // watermark transparency
// Constructor
// $ Types: specifies the file type that can be uploaded. $ maxsize: size allowed. $ field: indicates the name of th
= $ field;$ This-> time = $ time? $ Time: time ();} // Set and create a directory for storing files// $ Basedir: base Directory, which must be a physical path// $ Filedir: Custom subdirectory. Available parameters: {y}, {m}, and {d}Function set_dir ($ basedir, $ filedir = ''){$ Dir = $ basedir;! Is_dir ($ dir) @ mkdir ($ dir, 0777 );If (! Emptyempty ($ filedir
type var $field; Upload control name Var $maxsize; Maximum allowable file size in KB var $thumb _width; Thumbnail width var $thumb _height; Thumbnail height var $watermark _file; Watermark Image address Var $watermark _pos; Watermark location var $watermark _trans;//watermark Transparency//constructor//$types: Allowed file types to upload, $maxsize: allowable size, $ Field: Upload control name, $time: Custom upload Time function upload ($types = ' jpg|png ', $maxsize = 1024x768, $
This article describes the PHP implementation of the login Sohu ads to obtain the Advertising alliance data method. Share to everyone for your reference, specific as follows:
Always have an idea, every time to log in to see how much the alliance yesterday? Every day to log in and trouble, can do a summary of the function of the email?
Unfortunately, the verification code around, can only think of one way. First in the server to manually play the verification code, and then in the timer, every
: $[filedir]The generated file is under the current file directory [Filedir].(2)Command:c:\jdk1.3\bin\jar.exeARGUMENTS:CVFM $[filedir].jar RUN.MF *Initial: $[filedir]If you change the arguments, you generate a. jar file with the name of the directory that contains the current file.And the file is in the same directory
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.